package com.pxst.merchant.req;

import com.pxst.req.BasePageRsp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class MonthlyCreatReq extends BasePageRsp {

    @ApiModelProperty(value = "地区" ,required = true)
    private String currency;

    @NotNull(message = "金额不能为空")
    @ApiModelProperty(value = "金额" ,required = true)
    private BigDecimal amount;

    @NotNull(message = "代理id不能为空")
    @ApiModelProperty(value = "代理id",required = true)
    private Long agentId;

    @NotNull(message = "商户id不能为空")
    @ApiModelProperty(value = "商户id",required = true)
    private Long merchantId;

    @NotBlank(message = "描述不能为空")
    @ApiModelProperty(value = "描述",required = true)
    private String description;

    @NotBlank(message = "日期不能为空")
    @ApiModelProperty(value = "日期",required = true)
    private String date;

    @NotNull(message = "年份不能为空")
    @ApiModelProperty(value = "年份",required = true)
    private Integer year;

    @NotNull(message = "月份不能为空")
    @ApiModelProperty(value = "月份",required = true)
    private Integer month;

}
